package com.hejia.alauda.entity;

import java.util.Date;

import javax.persistence.Column;

/**
 * 
 * 用户广播消息
 *
 *
 * Created by showone on 2014 下午3:56:25.
 *
 * @Copyright: 2014 www.hejiajinrong.com All rights reserved.
 */
public class SystemMessage extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@Column
	private String category; // 消息类别

	@Column
	private String title;// 标题

	@Column
	private String content;// 消息内容

	@Column
	private String url;// url地址

	@Column
	private String openAppPage; // 打开App页面

	@Column
	private Boolean publishFlag; // 发布标志

	@Column
	private Boolean deadFlag; // 失效标志

	@Column
	private Date deadline;// 失效时间

	@Column
	private Boolean deleteFlag; // 删除标志

	@Column
	protected Date sendTime;// 发送时间

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Boolean getDeadFlag() {
		return deadFlag;
	}

	public void setDeadFlag(Boolean deadFlag) {
		this.deadFlag = deadFlag;
	}

	public Date getDeadline() {
		return deadline;
	}

	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}

	public Boolean getPublishFlag() {
		return publishFlag;
	}

	public void setPublishFlag(Boolean publishFlag) {
		this.publishFlag = publishFlag;
	}

	public Boolean getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getOpenAppPage() {
		return openAppPage;
	}

	public void setOpenAppPage(String openAppPage) {
		this.openAppPage = openAppPage;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
}
